Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@web3-storage/data-segment
Advanced tools
Implementation of [FRC-0058](https://github.com/filecoin-project/FIPs/blob/master/FRCs/frc-0058.md) verifiable aggregation scheme
Implementation of the FRC-0058 verifiable aggregation scheme.
import { Piece, MIN_PAYLOAD_SIZE } from "@web3-storage/data-segment"
// input must be >= 65 bytes
const bytes = new Uint8Array(MIN_PAYLOAD_SIZE)
const piece = Piece.fromPayload(bytes)
// bafkzcibbai3tdo4zvruj6zxo6wlt4suu3imi6to4vzmaojh4n475mdp5jcbtg
const cid = piece.link.toSting()
Sstarted as fork of js-fil-utils modernizing it to use ES modules and web crypto APIs in place of node APIs.
However, js-fil-utils produces different results from the more widely used go implementation which is why it got some heavy lifting inspired by go-data-segment and go-fil-commp-hashhash libraries.
FAQs
Implementation of [FRC-0058](https://github.com/filecoin-project/FIPs/blob/master/FRCs/frc-0058.md) verifiable aggregation scheme
The npm package @web3-storage/data-segment receives a total of 5,001 weekly downloads. As such, @web3-storage/data-segment popularity was classified as popular.
We found that @web3-storage/data-segment demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.